package com.example.common.config;

import org.springframework.context.annotation.Configuration;

@Configuration
public class AilConfiguration {
//    // 显式指定Bean名称为 aliOssUtilConfig
//    @Bean("aliOssUtilConfig")
//    public AliOssUtil aliOssUtil(AliProperties properties) {
//        return new AliOssUtil(
//                properties.getEndpoint(),
//                properties.getAccessKeyId(),
//                properties.getAccessKeySecret(),
//                properties.getBucketName()
//        );
//    }

//    @Bean
//    public SendSmsExample sendSmsExample(AliProperties properties) {
//        return new SendSmsExample(
//                properties.getRegionId(),
//                properties.getAccessKeyId(),
//                properties.getAccessKeySecret()
//        );
//    }
}
